package com.nanjia.boot.certificatetype.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nanjia.boot.certificatetype.model.entity.CertificateType;
import com.nanjia.boot.certificatetype.model.query.CertificateTypeQuery;
import com.nanjia.boot.certificatetype.model.vo.CertificateTypeVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 证件类型Mapper接口
 *
 * @author 周洋
 * @since 2025-06-13 10:14
 */
@Mapper
public interface CertificateTypeMapper extends BaseMapper<CertificateType> {

    /**
     * 获取证件类型分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<CertificateTypeVO>} 证件类型分页列表
     */
    Page<CertificateTypeVO> getCertificateTypePage(Page<CertificateTypeVO> page, CertificateTypeQuery queryParams);

}
